<!DOCTYPE html> 
<html> 
<head> 
	<meta  charset="utf-8" />
	<title>标题</title>
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
	<!-- <script src="__PUBLIC__/js/jquery.metadata.js"></script> -->
    <script src="__PUBLIC__/js/messages_cn.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Css/jquery.validate.css" />
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />		
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>
    <script type="text/javascript">
      $().ready(function() {
    	 $("#shortmessage").validate();  
    	});
    </script>
</head>
<body>
<div data-role="page"> 
　<div data-role="header" data-position="fixed">　<a href="__URL__/index/pageNum/{$currentPage}" rel="external"   data-role="button" data-icon="back" >后退</a>
           <div style="text-align:center;" >发送信息</div>   
           <a href="#" data-role="button" data-icon="refresh">刷新</a></div> 
　 <div data-role="content">
  <form method="post" action="__URL__/insert"  data-ajax="false" id="shortmessage" class="validate">   
  <input type="hidden" name="sendername" value="<?php echo $_SESSION['loginUserName'] ?>">
	    <input type="hidden" name="state" value="0">
	    <input type="hidden" name="sendtime" value="<?php echo date('Y-n-j H:i:s')?>" >
  <table align="center">
			<tr>
			   <td><label for="receivername" class="select">收件人：</label></td>
			    <td><select name="receivername" id="receivername" data-mini="true" class="required">
			        <option value="">请选择</option>
			          <volist name="list" id="vo">
						<option value="{$vo.fullname}">{$vo.fullname}</option>
						</volist>
				 </select>
			   </td>
			</tr>
			<tr>
			<td><label for="content"><em>*</em>内容：</label></td><td><textarea name="content" id="content" required cols="56"  rows="6"></textarea></td>
			</tr>
			<tr>
			<td colspan="2">
			<div data-type="horizontal" data-role="controlgroup"  style="text-align:center;">
			<input type="submit" value="发送" data-icon="check"/>
			<a href="__URL__/index/pageNum/{$currentPage}" rel="external" data-icon="back" data-role="button" >取消</a>
			</div></td>
			</tr>
</table>
</form>
</div> 
</div>
</body>
</html>